package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆信息表对象 sys_cars
 * 
 * @author ruoyi
 * @date 2022-05-11
 */
public class SysCars extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆id */
    private Long carId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String carColor;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carType;

    /** 车辆型号 */
    @Excel(name = "车辆型号")
    private String carModel;

    /** 底盘型号 */
    @Excel(name = "底盘型号")
    private String chassisModel;

    /** 发动机型号 */
    @Excel(name = "发动机型号")
    private String engineModel;

    /** 电池型号 */
    @Excel(name = "电池型号")
    private String chargeModel;

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setCarColor(String carColor) 
    {
        this.carColor = carColor;
    }

    public String getCarColor() 
    {
        return carColor;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setCarModel(String carModel) 
    {
        this.carModel = carModel;
    }

    public String getCarModel() 
    {
        return carModel;
    }
    public void setChassisModel(String chassisModel) 
    {
        this.chassisModel = chassisModel;
    }

    public String getChassisModel() 
    {
        return chassisModel;
    }
    public void setEngineModel(String engineModel) 
    {
        this.engineModel = engineModel;
    }

    public String getEngineModel() 
    {
        return engineModel;
    }
    public void setChargeModel(String chargeModel) 
    {
        this.chargeModel = chargeModel;
    }

    public String getChargeModel() 
    {
        return chargeModel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carNum", getCarNum())
            .append("carColor", getCarColor())
            .append("carType", getCarType())
            .append("createBy", getCreateBy())
            .append("carModel", getCarModel())
            .append("chassisModel", getChassisModel())
            .append("engineModel", getEngineModel())
            .append("chargeModel", getChargeModel())
            .toString();
    }
}
